package com.fize.pattern.n03singleton;

import org.junit.*;

public class LazyManTest {
	
	public LazyManTest() {
	}
	
	@BeforeClass
	public static void setUpClass() {
	}
	
	@AfterClass
	public static void tearDownClass() {
	}
	
	@Before
	public void setUp() {
	}
	
	@After
	public void tearDown() {
	}

	/**
	 * Test of getInstance method, of class LazyMan.
	 */
	@Test
	public void testGetInstance() {
		System.out.println("getInstance");
		String name = "陈峰展";
		LazyMan lm = LazyMan.getInstance(name);
	}

	/**
	 * Test of doSomeThing method, of class LazyMan.
	 */
	@Test
	public void testDoSomeThing() {
		System.out.println("doSomeThing");
		String name = "陈峰展";
		LazyMan lm = LazyMan.getInstance(name);
		lm.doSomeThing();
	}
	
}
